<div id="app">
  <p>{{counter}}</p>
  <p v-text="counter"></p>
  <p v-html="desc"></p>
</div>
<!-- <script src="../node_modules/vue/dist/vue.js"></script> -->
<script src='vue.js'></script>
<script>
  const app = new Vue({
    el: '#app',
    data: {
      counter: 1,
      desc: '<span style="color:red">村长真棒</span>'
    },
  })
  setInterval(() => {
    app.counter++
  }, 1000);
</script>